package com.ruoyi.manager.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @program: ruoyi
 * @description:
 * @author: yuxiang
 * @create: 2021-09-02 11:41
 */
@Data
@ToString
public class City {
    private Long id;
    private String cityName;
    private Long pid;
    private Integer type;
    private String abbr;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private List<City> cityChildren;
}
